package com.killer.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.killer.dao.MessageDao;
import com.killer.pojo.entity.Message;
import com.killer.service.MessageService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class MessageServiceImpl extends ServiceImpl<MessageDao, Message> implements MessageService {
    @Autowired
    private MessageDao messageDao;
    @Override
    public int insertMessage(Message message) {
        return messageDao.insert(message);
    }
}
